package enumExample;

public enum Category {
    FOOD(1),
    COOK(2),
    SNACK(3),
    CLOTHES(4);
    private int id;
    Category(int id) {
        this.id = id;
    }
    public int getId() {return id;}
}
